<?php

import("data.db.DbTable");
import("data.db.DbFactory");

class DbSession extends DbTable {
	
	const TB_TABLENAME	= "sessions";
	const TB_I			= 'sess';
	
	const TB_NAME		= 'sess_name';
	const TB_EXPIRED	= 'sess_expired';
	
	function _get_TABLENAME() {return self::TB_TABLENAME;}
	function _get_ID() {return self::TB_I."_id";}
	function _get_SUFFIX() {return self::TB_I;}
	
	// properties
	var $name;
	var $expired;
	
	function DbSession() {
		parent::DbTable();
	}
	
}

?>